package com.liang.service.Provider;

import com.liang.pojo.Provider;

import javax.xml.crypto.Data;
import java.sql.Connection;
import java.util.Date;
import java.util.List;

public interface ProviderService {
    public Integer getCount(String proCode, String proName);
    public List<Provider> getProviderList(String proCode, String proName,int pageNo,int pageSize);
    public Provider getProviderView( Integer id);
    public Boolean updateProvider(Integer id,String proCode,String proName,String proContact,
                                  String proPhone,String proAddress,String proFax,String proDesc,Integer modifyBy, Date modifyDate);
    public Boolean insertProvider( String proCode, String proName, String proContact,
                                  String proPhone, String proAddress, String proFax, String proDesc, Integer createdBy, Date creationDate);

    public Provider getProvideOfProCode(String proCode);
    public Boolean deleteProvider(Integer id);
}
